import axios from '@/utils/axios'

// 获取搜索建议
export const getSearchJianyi = q => {
    return axios({
        method: 'GET',
        url: '/v1_0/suggestion',
        params: {
            q
        }
    })
};
// 获取搜索结果
export const getSearchResult = params => {
    return axios({
        method: "GET",
        url: "/v1_0/search",
        params
    })
}